package com.shoulei.designpattern.prototypePattern;

/**
 * @ClassName:Rectangle
 * @Descrition:
 * @Author:shoulei
 * @Date:2019/3/31 21:03
 * @Verson:
 */
public class Rectangle extends Shape{
    public Rectangle(){
        type ="Rectangle";
    }
    @Override
    void draw() {
        System.out.println("Inside Rectangle::draw() method.");
    }
}
